package oocl.ita.eordering.dao;

import oocl.ita.eordering.po.Merchant;

public interface MerchantDao {
	//注册商家
	public int addMerchant(Merchant merchant);
	//修改商家除密码外的信息：地址、商标、logo图片
	public int updateMerchant(Merchant merchant);
	//通过tel查找商家
	public Merchant findMerchantByTel(String mTel);
	//通过ID查找商家
	public Merchant findMerchantById(Integer mId);
	//修改商家密码
	public int updatePassword(Merchant merchant);
	

}
